import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '../views/Home.vue'
import FlexDirection from '../views/flex-direction.vue'

Vue.use(VueRouter)

const routes = [{
        path: '/',
        name: 'FlexDirection',
        component: FlexDirection
    },
    {
        path: '/about',
        name: 'About',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () =>
            import ( /* webpackChunkName: "about" */ '../views/About.vue')
    },
    {
        path: '/Menu',
        name: 'Menu',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () =>
            import ( /* webpackChunkName: "about" */ '../components/Menu.vue')
    },
    {
        path: '/FlexWrap',
        name: 'FlexWrap',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () =>
            import ( /* webpackChunkName: "about" */ '../views/flex-wrap.vue')
    },
    // FlexFlow
    {
        path: '/FlexFlow',
        name: 'FlexFlow',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () =>
            import ( /* webpackChunkName: "about" */ '../views/FlexFlow.vue')
    },
    // JustifyContent
    {
        path: '/JustifyContent',
        name: 'JustifyContent',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () =>
            import ( /* webpackChunkName: "about" */ '../views/JustifyContent.vue')
    },
    // AlignItems
    {
        path: '/AlignItems',
        name: 'AlignItems',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () =>
            import ( /* webpackChunkName: "about" */ '../views/AlignItems.vue')
    },
    // AlignContent
    {
        path: '/AlignContent',
        name: 'AlignContent',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () =>
            import ( /* webpackChunkName: "about" */ '../views/AlignContent.vue')
    },
    // ProjectProperties
    {
        path: '/ProjectProperties',
        name: 'ProjectProperties',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () =>
            import ( /* webpackChunkName: "about" */ '../views/ProjectProperties.vue')
    }

]

const router = new VueRouter({
    routes
})

export default router